#include "_tool_.h"
void setBoolean(DCValue *result, DCbool value) {
    result->B = value;
}

void setChar(DCValue *result, DCchar value) {
    result->c = value;
}

void setUnsignedChar(DCValue *result, DCuchar value) {
    result->C = value;
}

void setShort(DCValue *result, DCshort value) {
    result->s = value;
}

void setUnsignedShort(DCValue *result, DCushort value) {
    result->S = value;
}

void setInt(DCValue *result, DCint value) {
    result->i = value;
}

void setUnsignedInt(DCValue *result, DCuint value) {
    result->I = value;
}

void setLong(DCValue *result, DClong value) {
    result->j = value;
}

void setUnsignedLong(DCValue *result, DCulong value) {
    result->J = value;
}

void setLongLong(DCValue *result, DClonglong value) {
    result->l = value;
}

void setUnsignedLongLong(DCValue *result, DCulonglong value) {
    result->L = value;
}

void setFloat(DCValue *result, DCfloat value) {
    result->f = value;
}

void setDouble(DCValue *result, DCdouble value) {
    result->d = value;
}

void setPointer(DCValue *result, DCpointer value) {
    result->p = value;
}

void setString(DCValue *result, DCstring value) {
    result->Z = value;
}